﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace synoexec.synologylib.DataType
{
    public class BackupVersionInfo
    {
        [JsonProperty("crypto_key_id")]
        public int CryptoKeyId { get; set; }
        [JsonProperty("data_format")]
        public int DataFormat { get; set; }
        [JsonProperty("folder_name")]
        public string FolderName { get; set; }
        [JsonProperty("is_snapshot")]
        public bool IsSnapShot { get; set; }
        [JsonProperty("locked")]
        public bool Locked { get; set; }
        [JsonProperty("removable")]
        public bool Removeable { get; set; }
        [JsonProperty("status")]
        public int Status { get; set; }
        [JsonProperty("time_end")]
        public long TimeEnd { get; set; }
        [JsonProperty("time_start")]
        public long TimeStart { get; set; }
        [JsonProperty("used_size")]
        public long UsedSize { get; set; }
        [JsonProperty("version_id")]
        public int VersionId { get; set; }
    }
}
